home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / ODFDev / Hello / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-12-16  |  2.4 KB  |  85 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 3 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. #ifndef FWMENUS_K
  14. #include "FWMenus.k"
  15. #endif
  16.  
  17. //-------------------------------------------------------------------------------------
  18. // Uncomment the following three lines, and define them appropriately!!
  19. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  20. // to be 1.  Otherwise define it to be 0.
  21. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  22. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  23. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  24. // define it to be zero.  Note that if your part is scriptable is must support
  25. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  26.  
  27. #define FW_SUPPORTS_EMBEDDING     0
  28. #define FW_SUPPORTS_EXTENSIONS     0
  29. #define FW_SUPPORTS_SCRIPTING     0
  30. #define FW_SUPPORTS_LINKING     0
  31.  
  32. //-------------------------------------------------------------------------------------
  33. // Icons ID
  34. #define kViewAsIconID         128
  35. #define kAboutIconID         130
  36.  
  37. //-------------------------------------------------------------------------------------
  38. // Strings
  39. #define kHelloPartStrings 1000
  40.  
  41. #define kFirstString         1
  42. #define kMacString            2
  43. #define kWinString            3
  44. #define kBlankString        4
  45.  
  46. #ifdef FW_BUILD_MAC
  47. #define kPlatformString     kMacString
  48. #endif
  49. #ifdef FW_BUILD_WIN
  50. #define kPlatformString     kWinString
  51. #endif
  52.  
  53. #define kHelloUndoStrings 1002
  54.  
  55. #define kUndoDragTextMsg    1
  56. #define kRedoDragTextMsg    2
  57. #define kUndoDropTextMsg    3
  58. #define kRedoDropTextMsg    4
  59. #define kUndoClearTextMsg    5
  60. #define kRedoClearTextMsg    6
  61. #define kUndoCutTextMsg        7
  62. #define kRedoCutTextMsg        8
  63. #define kUndoPasteTextMsg    9
  64. #define kRedoPasteTextMsg    10
  65.  
  66. //-------------------------------------------------------------------------------------
  67. // Menus 
  68. #define kMenuBar 1024
  69.  
  70. // ----- Command IDs
  71. #define cPlaceInCenter        FW_kFirstUserCommandID
  72. #define cPlaceAtTop            cPlaceInCenter + 1
  73.  
  74. //-------------------------------------------------------------------------------------
  75. // About 
  76. #define kAbout                 1024
  77.  
  78. //-------------------------------------------------------------------------------------
  79. // Part Info 
  80. #define kPartInfoID         1024
  81.  
  82.  
  83. #endif
  84.  
  85.